package com.cdp.web.controller.system;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.cdp.common.core.domain.AjaxResult;
import com.cdp.common.core.domain.entity.SysSlump;
import com.cdp.system.service.ISysSlumpService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 坍落度查询
 */
@RestController
@RequestMapping
public class SysSlumpController {

    @Autowired
    private ISysSlumpService sysSlumpService;

    @PostMapping("querySysSlumpList")
    private AjaxResult   querySysSlumpList(){

        List<SysSlump> list = sysSlumpService.list();
        return AjaxResult.success(list);
    }


}
